import java.awt.Graphics2D;


/**
 * @author Difan Zhao
 */
interface Material {
    void paint(Graphics2D pen);

    void update(Simulation canvas, double dt);
// identify Mass's id
    int getId();
}
